package fu.capstone.hanoicityguide.dataaccess.webservice;


public interface WebServiceDAO {
	// namespace and url of webservice
	public static final String NAMESPACE = "http://hcg.com/";
	public static final String URL = "http://hcgservice.net/HCGService.asmx?WSDL";
	// public static final String URL =
	// "http://hcg.somee.com/HCGService.asmx?WSDL";
	// public static final String URL =
	// "http://ftp.hcgservice.tk/HCGService.asmx?WSDL";

	// get value from each table
	public static final String METHOD_GET_TYPE = "getListType";
	public static final String METHOD_GET_CATEGORY = "getListCategory";
	public static final String METHOD_GET_CLASS = "getListClass";
	public static final String METHOD_GET_ALBUM_IMAGE = "getListAlbumImage";
	public static final String METHOD_GET_DBVERSION = "getListDBVersion";
	public static final String METHOD_GET_GEOLOCATION = "getListGeolocation";
	public static final String METHOD_GET_RATING = "getListRating";
	public static final String METHOD_GET_PLACE = "getListPlace";
	public static final String METHOD_GET_FOOD = "getListFood";
	public static final String METHOD_GET_HOLIDAY = "getListHoliday";
	public static final String METHOD_GET_TRANSPORT_CATEGORY = "getListTransportCategory";
	public static final String METHOD_GET_TRANSPORT = "getListTransport";
	public static final String METHOD_GET_COMMON_DIALOGUE = "getListCommonDialogue";
	public static final String METHOD_GET_HOME = "getListHome";
	public static final String METHOD_GET_ITINERARY = "getListItinerary";
	public static final String METHOD_GET_ITINERARYDETAIL = "getListItineraryDetail";
	public static final String METHOD_GET_TOUR = "getListTour";
	public static final String METHOD_GET_TOURPROVIDER = "getListTourProvider";

	// get count from each table
	public static final String METHOD_COUNT_TYPE = "countType";
	public static final String METHOD_COUNT_CATEGORY = "countCategory";
	public static final String METHOD_COUNT_CLASS = "countClass";
	public static final String METHOD_COUNT_ALBUM_IMAGE = "countAlbumImage";
	public static final String METHOD_COUNT_DBVERSION = "countDBVersion";
	public static final String METHOD_COUNT_GEOLOCATION = "countGeolocation";
	public static final String METHOD_COUNT_RATING = "countRating";
	public static final String METHOD_COUNT_PLACE = "countPlace";
	public static final String METHOD_COUNT_FOOD = "countFood";
	public static final String METHOD_COUNT_HOLIDAY = "countHoliday";
	public static final String METHOD_COUNT_TRANSPORT_CATEGORY = "countTransportCategory";
	public static final String METHOD_COUNT_TRANSPORT = "countTransport";
	public static final String METHOD_COUNT_COMMON_DIALOGUE = "countCommonDialogue";
	public static final String METHOD_COUNT_HOME = "countHome";
	public static final String METHOD_COUNT_ITINERARY = "countItinerary";
	public static final String METHOD_COUNT_ITINERARYDETAIL = "countItineraryDetail";
	public static final String METHOD_COUNT_TOUR = "countTour";
	public static final String METHOD_COUNT_TOURPROVIDER = "countTourProvider";
	public static final String METHOD_GET_LASTESTVERSIONID = "getLastestVersionId";

	// public final String SOAP_ACTION = NAMESPACE + METHOD_NAME;

	public boolean setListType();

	public boolean setListCategory();

	public boolean setListClass();

	public boolean setListDBVersion();

	public boolean setListGeolocation();

	public boolean setListRating();

	public boolean setListPlace();

	public boolean setListAlbumImage();

	public boolean setListFood();

	public boolean setListHoliday();

	public boolean setListTransportCategory();

	public boolean setListTransport();

	public boolean setListCommonDialogue();

	public boolean setHome();

	public boolean setListItinerary();

	public boolean setListItineraryDetail();

	public boolean setListTour();

	public boolean setListTourProvider();

	public int getCountAlbumImage();

	public int getCountCategory();

	public int getCountClass();

	public int getCountCommonDialogue();

	public int getCountDBVersion();

	public int getCountFood();

	public int getCountGeolocation();

	public int getCountHoliday();

	public int getCountHome();

	public int getCountItinerary();

	public int getCountItineraryDetail();

	public int getCountPlace();

	public int getCountRating();

	public int getCountTour();

	public int getCountTourProvider();

	public int getCountTransport();

	public int getCountTransportCategory();

	public int getCountType();

	public boolean checkDBVersion();

}
